﻿using ReportSystem_XY.DAL;
using ReportSystem_XY.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ReportSystem_XY.BLL
{
    public class UserBLL : BaseBLL<UserInfoModel>
    {
        private UserDAL userDAL = new UserDAL();

        public List<RoleInfoModel> Login(string uName, string uPwd)
        {
            List<RoleInfoModel> roleList = new List<RoleInfoModel>();

            int userId = userDAL.Login(uName, uPwd);
            if (userId > 0)
            {
                //获取用户角色列表
            }
            return roleList;
        }
    }
}